import QtQuick 1.1
import com.nokia.meego 1.0

Rectangle {
    id: pageHeader
    anchors.top: parent.top
    width: parent.width
    height: appWindow.inPortrait ? 72 : 64
    color: "#008Bff"
    z: 10

    property string text

    Label {
        id: titleLabel
        anchors.verticalCenter: parent.verticalCenter
        anchors.left: parent.left
        anchors.leftMargin: 16
        color: "#FFFFFF"
        font.family: "Nokia Pure Text Light"
        font.pixelSize: 32
        text: pageHeader.text
    }

    Image {
        id: separatorImage
        anchors.bottom: parent.bottom
        width: parent.width
        source: "image://theme/meegotouch-separator-background-horizontal"
    }
}
